:root {
  --bg: #0f172a;
  --bg-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #e5e7eb;
  --muted: #94a3b8;
  /*--accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-stronger: #0284c7;*/
  --accent: transparent;
  --accent-strong: #38bdf8;
  --accent-stronger: #38bdf8;
  --success: #22c55e;
  --danger: #f87171;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  --radius: 22px;
}

.promo {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
  font-size: 1.8rem; /* o 2rem máximo */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 26%),
    linear-gradient(180deg, #020617, #0f172a 55%, #111827);
  color: var(--text);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: top;
}

.hero__content {
  padding: 16px 8px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #bae6fd;
  font-size: 0.9rem;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.05;
}

.hero__text,
.form__intro,
.feature p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.hero__card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.68));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 28px;
}

.form {
  padding: 28px;
}

.form h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.field__error {
  min-height: 1.1em;
  color: var(--danger);
}

.btn1 {
  margin-top: 20px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn2 {
  margin-top: 20px;
  width: 100%;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 1rem;
  font-weight: 600; /* ↓ baja peso */
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: transparent; /* 🔥 clave */
  color: #38bdf8; /* usa tu accent */
  opacity: 0.85; /* 🔥 lo hace más discreto */
}

.btn1:hover {
  transform: translateY(-1px);
}

.btn2:hover {
  transform: translateY(-1px);
}

.btn1--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong), var(--accent-stronger));
  color: white;
}

.btn2--primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-border), var(--secondary-text));
  color: white;
}

.btn1:disabled {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

.btn2:disabled {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn1.is-loading .spinner {
  display: inline-block;
}

.btn2.is-loading .spinner {
  display: inline-block;
}

.form__message {
  min-height: 1.3em;
  margin: 14px 0 0;
  font-weight: 600;
}

.form__message.is-success {
  color: var(--success);
}

.form__message.is-error {
  color: var(--danger);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.feature {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 12px;
  }

  .hero__content {
    padding: 6px 0 0;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 100%);
    padding: 20px 0 36px;
  }

  .form {
    padding: 22px 16px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__badges {
    gap: 10px;
  }

  .badge {
    width: 100%;
    text-align: center;
  }
}






.lang-switch-seo a {
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.08);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.lang-switch-seo a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.2);
}

.lang-switch-seo a.active {
  background: #7c3aed;
  color: #fff !important;
}









/* =========================
   TOPBAR BASE
========================= */
.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 20px;
  z-index:100;

  background:rgba(2,6,23,0.6);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

/* =========================
   LEFT (LOGO + LANG)
========================= */
.topbar__left{
  display:flex;
  align-items:center;
  gap:12px;
}

.topbar__logo{
  height:38px;
}

/* LANG */
.topbar__lang{
  display:flex;
  gap:6px;
  padding-left:10px;
  border-left:1px solid rgba(255,255,255,0.08);
}

.lang-link{
  font-size:12px;
  color:#cbd5f5;
  padding:4px 6px;
  border-radius:6px;
  transition:.2s;
}

.lang-link:hover{
  background:rgba(255,255,255,0.1);
  color:white;
}

.lang-link.active{
  background:rgba(255,255,255,0.15);
  color:white;
  font-weight:600;
}

/* =========================
   NAV
========================= */
.topbar__nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav__link{
  font-size:14px;
  color:#94a3b8;
  position:relative;
  transition:.2s;
}

/* underline animado */
.nav__link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,#7c3aed,#4f46e5);
  transition:.25s;
}

.nav__link:hover{
  color:white;
}

.nav__link:hover::after{
  width:100%;
}

/* botón login */
.nav__btn{
  padding:8px 14px;
  border-radius:8px;
  background:linear-gradient(135deg,#7c3aed,#4f46e5);
  color:white;
}

.nav__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(124,58,237,0.4);
}

/* =========================
   MOBILE MENU
========================= */
.menu-toggle{
  display:none;
  font-size:22px;
  background:none;
  border:none;
  color:white;
  cursor:pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px){

  .menu-toggle{
    display:block;
  }

  .topbar__nav{
    position:absolute;
    top:70px;
    right:0;
    width:200px;

    flex-direction:column;
    align-items:flex-start;

    background:#020617;
    padding:20px;
    gap:15px;

    display:none;
  }

  .topbar__nav.active{
    display:flex;
  }

}

:root{
  --topbar-height:70px;
}

.topbar{
  height:var(--topbar-height);
  box-shadow:0 4px 20px rgba(0,0,0,0.25);
}

.page{
  padding-top:calc(var(--topbar-height) + 30px);
}























/* =========================
   🔥 UPGRADE VISUAL GLOBAL
========================= */

:root {
  --accent: #7c3aed;
  --accent-strong: #5b21b6;
  --accent-stronger: #4c1d95;
}

/* =========================
   🌌 FONDO MÁS PREMIUM
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,77,255,.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(56,189,248,.18), transparent 40%);
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   HERO DEPTH
========================= */

.hero {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(124,77,255,.35), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(56,189,248,.22), transparent 45%);
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}

/* =========================
   HERO TITLE (más impacto)
========================= */

h1 {
  background: linear-gradient(135deg, #fff, #c7d2fe, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   HERO CARD (nivel dashboard)
========================= */

.hero__card {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.55)
  );
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 40px rgba(124,77,255,0.12);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(124,77,255,.5),
    rgba(56,189,248,.3),
    rgba(255,255,255,.1)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* =========================
   BOTONES (upgrade fuerte)
========================= */

.btn1--primary {
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-strong),
    var(--accent-stronger)
  );
  box-shadow:
    0 14px 30px rgba(124,77,255,.35),
    0 0 20px rgba(124,77,255,.25);
}

.btn1:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn2 {
  border: 1px solid rgba(124,77,255,.4);
  color: #c4b5fd;
}

.btn2:hover {
  background: rgba(124,77,255,.12);
  border-color: rgba(124,77,255,.7);
}

/* =========================
   BADGES MÁS LIMPIOS
========================= */

.badge {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.badge:hover {
  border-color: rgba(124,77,255,.5);
  transform: translateY(-1px);
}

/* =========================
   FEATURES (cards)
========================= */

.feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(124,77,255,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* =========================
   TOPBAR (más elegante)
========================= */

.topbar {
  background: rgba(2,6,23,0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* =========================
   MICRO GLOW GLOBAL
========================= */

.hero__badges,
.feature,
.hero__card {
  position: relative;
}

.hero__card:hover {
  box-shadow:
    0 30px 70px rgba(0,0,0,0.5),
    0 0 60px rgba(124,77,255,0.18);
}



























/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 900px;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-contact p {
  margin: 4px 0;
  opacity: 0.8;
}

.footer-contact a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-legal {
  font-size: 12px;
  opacity: 0.6;
}

.footer-disclaimer {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.5;
}



















/* =========================
   LOADER CONTENEDOR
========================= */

.buttons-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

/* Spinner grande */
.spinner-lg {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* opcional glow */
.spinner-lg {
  box-shadow: 0 0 20px rgba(124,77,255,0.3);
}

.spinner-lg {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: #7c3aed;
  border-right-color: #38bdf8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

#buttonsContent {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}







/* =========================
   PRODUCTS GRID
========================= */

.products {
  margin-top: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD */
.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,77,255,.4);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-body {
  padding: 16px;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-weight: bold;
  color: #7c3aed;
}

/* loader */
.products-loader {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  padding: 40px;
}